1 00:00:00,012 --> 00:00:03,902 Hi folks, this is Matt again. And, now we are ready to start solving 2 00:00:03,902 --> 00:00:08,435 games, and making some predictions of how people play, in different settings. 3 00:00:08,435 --> 00:00:12,791 And, so we are talking right now about Nash Equilibrium, which is one of 4 00:00:12,791 --> 00:00:17,047 probably the most basic in standard solution concept of all in all the game 5 00:00:17,047 --> 00:00:19,867 theory. Which is named after John Nash, who was a 6 00:00:19,867 --> 00:00:24,463 mathematician in Princeton, and actually some years back won a Nobel Price, for 7 00:00:24,463 --> 00:00:28,597 his work on this subject. And it's a, it's a very basic and 8 00:00:28,597 --> 00:00:34,632 fundamental concept, and in order to sort of motivate it, let's, let's start by 9 00:00:34,632 --> 00:00:41,560 just talking through some a particular game that was described and invented by 10 00:00:41,560 --> 00:00:46,431 another famous person. so this is John, John Maynard Keyne's 11 00:00:46,431 --> 00:00:51,043 Beauty Contest game. So what's the idea here? so let's, let's 12 00:00:51,043 --> 00:00:55,192 think of a basic situation that you might be interested in. 13 00:00:55,192 --> 00:00:58,733 and this was one that Keynes described in some detail. 14 00:00:58,733 --> 00:01:02,190 So the idea was you have a stock, you're holding on to it. 15 00:01:02,190 --> 00:01:04,919 And the stock price is rising, that's great. 16 00:01:04,919 --> 00:01:09,900 you're an investor, you're trying to make profits off of your stock holdings. 17 00:01:09,900 --> 00:01:14,613 And you begin to believe that maybe the stock is too high to be justified by the 18 00:01:14,613 --> 00:01:18,411 value of the company. So, you're thinking that it's possible 19 00:01:18,411 --> 00:01:22,256 this stock is overvalued, maybe there's a bubble in the market and 20 00:01:22,256 --> 00:01:26,777 you're starting to think about selling. Okay, well you'd like to sell it, but 21 00:01:26,777 --> 00:01:29,701 you'd like to wait until the price is at it's peak. 22 00:01:29,701 --> 00:01:34,033 Right, so you'd want to wait until the price is just where it's going to hit its 23 00:01:34,033 --> 00:01:37,731 maximum before you sell it. so you want to get out of the market just 24 00:01:37,731 --> 00:01:41,933 before the other investors do. So this is a game where now you have to predict what 25 00:01:41,933 --> 00:01:45,917 other people think about the stock price and, and what they're going to do and 26 00:01:45,917 --> 00:01:48,751 when they want to get out, so how will they act. 27 00:01:48,751 --> 00:01:53,548 How should you respond to that so, the basic ingredients of Nash equilibrium are 28 00:01:53,548 --> 00:01:58,081 going to be having some prediction of what other players are doing, and then 29 00:01:58,081 --> 00:02:02,903 choosing the optimal strategy in response to that So these are going to be two key 30 00:02:02,903 --> 00:02:07,997 ingredients that we have. so there's a, a very stylized version of 31 00:02:07,997 --> 00:02:12,792 this which is known as the, the Keyne's beauty contest game. 32 00:02:12,792 --> 00:02:19,512 where did it come from? Well, actually Keyne's described the, there was a 33 00:02:19,512 --> 00:02:26,222 newspaper in the in, in England that had a contest where players had to guess 34 00:02:26,222 --> 00:02:34,687 Which picture of, of several women other readers would think was the the, the most 35 00:02:34,687 --> 00:02:40,648 attractive one? So it wasn't to guess what you thought But what you thought 36 00:02:40,648 --> 00:02:45,035 other people were thinking. So, Keyne's likened investing to this, 37 00:02:45,035 --> 00:02:49,658 you, it's not only what you think of, of the stock, but what you think other 38 00:02:49,658 --> 00:02:53,877 people are thinking about the stock that's important in driving your 39 00:02:53,877 --> 00:02:54,861 decisions. Okay, 40 00:02:54,861 --> 00:03:00,082 so, so this now is represented by a very simple game which is played by played by 41 00:03:00,082 --> 00:03:03,557 many people. So what's this game look like? Each 42 00:03:03,557 --> 00:03:07,032 person gets to name an integer between 1 and 100. 43 00:03:07,032 --> 00:03:12,357 Okay? So you get to pick a number between 1 and 100, it has to be an integer. 44 00:03:12,357 --> 00:03:16,997 So 1, 2, 3, etcetera. players are going to move simultaneously. 45 00:03:16,997 --> 00:03:22,147 And the player who names the integer that's closest to 2/3 of the average 46 00:03:22,147 --> 00:03:26,327 integer wins a prize. and the other players get nothing. 47 00:03:26,327 --> 00:03:31,142 So to win this game, you have to guess, you have to guess the average and then 48 00:03:31,142 --> 00:03:35,747 2/3 of it, right? So you'd want, you want to be right at 2/3 of whatever the 49 00:03:35,747 --> 00:03:39,432 average guess is. So a little bit below the average guess. 50 00:03:39,432 --> 00:03:45,252 if there's 2 people who happen to hit the same integer that, that's the right one 51 00:03:45,252 --> 00:03:48,695 then ties are going to be broken uniformly at random. 52 00:03:48,695 --> 00:03:54,285 So we'll just flip a coin or if there's 3 people we'll, we'll roll the dice 3 sided 53 00:03:54,285 --> 00:03:57,917 die, etcetera. Okay, so how would you play this game? 54 00:03:57,917 --> 00:04:02,642 you have to think about what other players are going to do and then forecast 55 00:04:02,642 --> 00:04:05,907 what the best integer is, in a response to that.